<?php
/**
 * Created by PhpStorm.
 * User: Guangpeng Chen
 * Date: 15-11-16
 * Time: 上午10:41
 */

$a10 = array (
    4 =>
        array (
            'id' => '4',
            'account' => '100001',
            'dtype' => '0',
            'dname' => '福建先行旅游',
        ),
    242 =>
        array (
            'id' => '242',
            'account' => '200032',
            'dtype' => '0',
            'dname' => '赶海的螃蟹旅行社',
        ),
    294 =>
        array (
            'id' => '294',
            'account' => '200052',
            'dtype' => '0',
            'dname' => '海南龙翔国际旅行社',
        ),
    679 =>
        array (
            'id' => '679',
            'account' => '200143',
            'dtype' => '0',
            'dname' => '厦门昊旅互联网销售有限公司',
        ),
    973 =>
        array (
            'id' => '973',
            'account' => '100063',
            'dtype' => '0',
            'dname' => '钟天荣',
        ),
    1079 =>
        array (
            'id' => '1079',
            'account' => '100073',
            'dtype' => '0',
            'dname' => '票券商城',
        ),
    1126 =>
        array (
            'id' => '1126',
            'account' => '200468',
            'dtype' => '0',
            'dname' => '票券商城2',
        ),
    1214 =>
        array (
            'id' => '1214',
            'account' => '100089',
            'dtype' => '0',
            'dname' => '携程网',
        ),
    1313 =>
        array (
            'id' => '1313',
            'account' => '200533',
            'dtype' => '0',
            'dname' => '三亚宸丰旅业有限公司',
        ),
    1928 =>
        array (
            'id' => '1928',
            'account' => '200765',
            'dtype' => '0',
            'dname' => '洛阳途游网络科技有限公司',
        ),
);

$a50 = array (
        1929 =>
            array (
                'id' => '1929',
                'account' => '200766',
                'dtype' => '0',
                'dname' => '微天下（厦门）网络科技有限公司',
            ),
        2115 =>
            array (
                'id' => '2115',
                'account' => '123483',
                'dtype' => '0',
                'dname' => '青岛先行网络服务有限公司',
            ),
        2386 =>
            array (
                'id' => '2386',
                'account' => '200873',
                'dtype' => '1',
                'dname' => '公众微信',
            ),
        2445 =>
            array (
                'id' => '2445',
                'account' => '123510',
                'dtype' => '0',
                'dname' => '靖西县古龙山峡谷群生态旅游开发有限责任公司',
            ),
        2449 =>
            array (
                'id' => '2449',
                'account' => '123511',
                'dtype' => '0',
                'dname' => '南宁小雅文化传播有限公司',
            ),
        2487 =>
            array (
                'id' => '2487',
                'account' => '123527',
                'dtype' => '0',
                'dname' => '淮安市光大国际旅行社有限公司',
            ),
        3001 =>
            array (
                'id' => '3001',
                'account' => '123577',
                'dtype' => '0',
                'dname' => '厦门惠和文创旅游发展有限公司',
            ),
        3436 =>
            array (
                'id' => '3436',
                'account' => '123630',
                'dtype' => '0',
                'dname' => '长春市家圆国际旅行社',
            ),
        3748 =>
            array (
                'id' => '3748',
                'account' => '501847',
                'dtype' => '0',
                'dname' => '厦门飞奔的蜗牛电子商务有限公司',
            ),
        4196 =>
            array (
                'id' => '4196',
                'account' => '123690',
                'dtype' => '0',
                'dname' => '清远市清新区笔架山度假村',
            ),
        4252 =>
            array (
                'id' => '4252',
                'account' => '501980',
                'dtype' => '0',
                'dname' => '青岛启点商务服务有限公司',
            ),
        4274 =>
            array (
                'id' => '4274',
                'account' => '123697',
                'dtype' => '0',
                'dname' => '携程分销',
            ),
        4453 =>
            array (
                'id' => '4453',
                'account' => '123710',
                'dtype' => '0',
                'dname' => '英德溶洞温泉度假村有限公司',
            ),
        4615 =>
            array (
                'id' => '4615',
                'account' => '502074',
                'dtype' => '0',
                'dname' => '旅宝',
            ),
        4652 =>
            array (
                'id' => '4652',
                'account' => '502087',
                'dtype' => '0',
                'dname' => '辽宁大运通国际旅行社盖州分公司',
            ),
        4782 =>
            array (
                'id' => '4782',
                'account' => '123735',
                'dtype' => '0',
                'dname' => '屏南县白水洋旅行社有限公司',
            ),
        4868 =>
            array (
                'id' => '4868',
                'account' => '123745',
                'dtype' => '0',
                'dname' => '秦皇岛市板厂峪长城旅游有限公司',
            ),
        4981 =>
            array (
                'id' => '4981',
                'account' => '502223',
                'dtype' => '0',
                'dname' => '张全旅行社',
            ),
        5134 =>
            array (
                'id' => '5134',
                'account' => '123774',
                'dtype' => '0',
                'dname' => '安徽省绩溪县紫园古民居旅游开发有限公司',
            ),
        5135 =>
            array (
                'id' => '5135',
                'account' => '123775',
                'dtype' => '0',
                'dname' => '连山壮族瑶族自治县天之源旅游投资开发有限公司',
            ),
        6216 =>
            array (
                'id' => '6216',
                'account' => '502620',
                'dtype' => '1',
                'dname' => '黄勉1',
            ),
        6225 =>
            array (
                'id' => '6225',
                'account' => '123853',
                'dtype' => '0',
                'dname' => '济南大邮国际旅行社有限公司',
            ),
        6262 =>
            array (
                'id' => '6262',
                'account' => '123854',
                'dtype' => '0',
                'dname' => '深圳市职工国际旅行社有限公司湖贝分公司',
            ),
        6271 =>
            array (
                'id' => '6271',
                'account' => '123855',
                'dtype' => '0',
                'dname' => '汽车经济技术开发区颖子沙画艺术工作室',
            ),
        6502 =>
            array (
                'id' => '6502',
                'account' => '123879',
                'dtype' => '0',
                'dname' => '香格里拉县纳吉生态文化开发中心',
            ),
        6578 =>
            array (
                'id' => '6578',
                'account' => '123886',
                'dtype' => '0',
                'dname' => '纪芳芳',
            ),
        6772 =>
            array (
                'id' => '6772',
                'account' => '123906',
                'dtype' => '0',
                'dname' => '大连市中山区爱克思策划工作室',
            ),
        7099 =>
            array (
                'id' => '7099',
                'account' => '123948',
                'dtype' => '0',
                'dname' => '大连滨城旅行社有限公司',
            ),
        7187 =>
            array (
                'id' => '7187',
                'account' => '123960',
                'dtype' => '0',
                'dname' => '北京锦翔通达科贸有限公司',
            ),
        7328 =>
            array (
                'id' => '7328',
                'account' => '123978',
                'dtype' => '0',
                'dname' => '北京乐活游文化传播有限公司',
            ),
        7435 =>
            array (
                'id' => '7435',
                'account' => '123992',
                'dtype' => '0',
                'dname' => '严莲花--安娜俄韩3D画展',
            ),
        7492 =>
            array (
                'id' => '7492',
                'account' => '123996',
                'dtype' => '0',
                'dname' => '厦门澳德瑞国际旅行社',
            ),
        7508 =>
            array (
                'id' => '7508',
                'account' => '123997',
                'dtype' => '0',
                'dname' => '云游',
            ),
        7589 =>
            array (
                'id' => '7589',
                'account' => '502907',
                'dtype' => '0',
                'dname' => '河南中国青年旅行社',
            ),
        12765 =>
            array (
                'id' => '12765',
                'account' => '608072',
                'dtype' => '0',
                'dname' => '黄世文',
            ),
        20502 =>
            array (
                'id' => '20502',
                'account' => '503038',
                'dtype' => '0',
                'dname' => '山东中侨国际旅行社有限公司',
            ),
        20894 =>
            array (
                'id' => '20894',
                'account' => '124039',
                'dtype' => '0',
                'dname' => '浙江台州黄岩布袋山旅游开发有限公司',
            ),
        21105 =>
            array (
                'id' => '21105',
                'account' => '503275',
                'dtype' => '0',
                'dname' => '大连老铁山温泉有限公司',
            ),
        21268 =>
            array (
                'id' => '21268',
                'account' => '503354',
                'dtype' => '0',
                'dname' => '开心假期',
            ),
        21564 =>
            array (
                'id' => '21564',
                'account' => '503599',
                'dtype' => '0',
                'dname' => '深圳市东方明珠国际旅行社有限公司',
            ),
        22411 =>
            array (
                'id' => '22411',
                'account' => '124072',
                'dtype' => '0',
                'dname' => '安徽省安庆市明堂山旅游开发有限公司',
            ),
        22423 =>
            array (
                'id' => '22423',
                'account' => '124075',
                'dtype' => '0',
                'dname' => '马湾公园有限公司',
            ),
        22610 =>
            array (
                'id' => '22610',
                'account' => '124077',
                'dtype' => '0',
                'dname' => '海南旅游服务公司',
            ),
        22647 =>
            array (
                'id' => '22647',
                'account' => '124078',
                'dtype' => '0',
                'dname' => '票付通景区托管',
            ),
        22845 =>
            array (
                'id' => '22845',
                'account' => '504281',
                'dtype' => '0',
                'dname' => '乐游票付通',
            ),
        22863 =>
            array (
                'id' => '22863',
                'account' => '504287',
                'dtype' => '0',
                'dname' => '青岛乐趣国际旅行社有限公司',
            ),
        23008 =>
            array (
                'id' => '23008',
                'account' => '504346',
                'dtype' => '1',
                'dname' => '千子门公兴镇',
            ),
        23265 =>
            array (
                'id' => '23265',
                'account' => '504411',
                'dtype' => '0',
                'dname' => '麦乐假期',
            ),
        23577 =>
            array (
                'id' => '23577',
                'account' => '124101',
                'dtype' => '0',
                'dname' => '康百万庄园',
            ),
        23938 =>
            array (
                'id' => '23938',
                'account' => '124110',
                'dtype' => '0',
                'dname' => '吉林省铭瑞商务旅行社有限公司',
            ),
    );

$a100 = array (
    0 => '23953',
    1 => '24016',
    2 => '24161',
    3 => '24287',
    4 => '24437',
    5 => '24619',
    6 => '24705',
    7 => '24863',
    8 => '24975',
    9 => '25119',
    10 => '25590',
    11 => '25875',
    12 => '26023',
    13 => '26153',
    14 => '26232',
    15 => '26233',
    16 => '26355',
    17 => '26524',
    18 => '26557',
    19 => '26568',
    20 => '26640',
    21 => '26697',
    22 => '26781',
    23 => '26855',
    24 => '26983',
    25 => '27126',
    26 => '27146',
    27 => '27203',
    28 => '27205',
    29 => '27271',
    30 => '27283',
    31 => '27309',
    32 => '27319',
    33 => '27565',
    34 => '27584',
    35 => '27585',
    36 => '27778',
    37 => '27935',
    38 => '28149',
    39 => '28217',
    40 => '28397',
    41 => '28689',
    42 => '28790',
    43 => '29060',
    44 => '29525',
    45 => '29556',
    46 => '29697',
    47 => '29734',
    48 => '35156',
    49 => '35173',
    50 => '35225',
    51 => '35275',
    52 => '35631',
    53 => '35666',
    54 => '36188',
    55 => '36333',
    56 => '36624',
    57 => '36710',
    58 => '36836',
    59 => '36949',
    60 => '36952',
    61 => '37052',
    62 => '37393',
    63 => '37408',
    64 => '37459',
    65 => '37758',
    66 => '37809',
    67 => '37928',
    68 => '38154',
    69 => '38343',
    70 => '38385',
    71 => '38399',
    72 => '38664',
    73 => '38717',
    74 => '38748',
    75 => '38783',
    76 => '38955',
    77 => '39002',
    78 => '39177',
    79 => '39266',
    80 => '39267',
    81 => '39304',
    82 => '39430',
    83 => '39499',
    84 => '39659',
    85 => '39828',
    86 => '39940',
    87 => '40101',
    88 => '40142',
    89 => '40210',
    90 => '40606',
    91 => '40733',
    92 => '40746',
    93 => '41551',
    94 => '42119',
    95 => '42232',
    96 => '42586',
    97 => '42854',
    98 => '42894',
    99 => '43094',
);
include_once '/var/www/html/new/d/module/common/Db.class.php';
$dbConf = include '/var/www/html/new/d/module/common/db.conf.php';// 远端服务器配置信息
\PFT\Db::Conf($dbConf['localhost']);
$db = &\PFT\Db::ConnectRef();

$sql = "SELECT id,account,dtype,dname FROM pft_member WHERE id IN(".implode(',', $a100).")";
$stmt = $db->query($sql);
$data = array();
while($_row = $stmt->fetch(PDO::FETCH_ASSOC)) {
    $data[$_row['id']] = $_row;
}

\PFT\Db::Close();

var_export($data);
//Array ( [sid] => 1433 [memberID] => 1433 [account] => 200566 [saccount] => 200566 [sdtype] => 0 [dtype] => 0 [dname] => 大仙测试 [alliance] => 1 [group] => 259 [unreadmsg] => 0 )





